.class Lcom/example/inshopbuy/InShopOrdersAdapter$1;
.super Ljava/lang/Object;
.source "InShopOrdersAdapter.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/inshopbuy/InShopOrdersAdapter;->getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/inshopbuy/InShopOrdersAdapter;


# direct methods
.method constructor <init>(Lcom/example/inshopbuy/InShopOrdersAdapter;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/inshopbuy/InShopOrdersAdapter$1;->this$0:Lcom/example/inshopbuy/InShopOrdersAdapter;

    .line 115
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 3
    .param p1, "arg0"    # Landroid/view/View;

    .prologue
    .line 119
    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/Integer;

    invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I

    move-result v0

    .line 120
    .local v0, "position":I
    iget-object v1, p0, Lcom/example/inshopbuy/InShopOrdersAdapter$1;->this$0:Lcom/example/inshopbuy/InShopOrdersAdapter;

    # getter for: Lcom/example/inshopbuy/InShopOrdersAdapter;->adapter:Lcom/example/inshopbuy/InShopOrdersAdapter;
    invoke-static {v1}, Lcom/example/inshopbuy/InShopOrdersAdapter;->access$0(Lcom/example/inshopbuy/InShopOrdersAdapter;)Lcom/example/inshopbuy/InShopOrdersAdapter;

    move-result-object v1

    invoke-virtual {v1}, Lcom/example/inshopbuy/InShopOrdersAdapter;->notifyDataSetChanged()V

    .line 121
    iget-object v2, p0, Lcom/example/inshopbuy/InShopOrdersAdapter$1;->this$0:Lcom/example/inshopbuy/InShopOrdersAdapter;

    iget-object v1, p0, Lcom/example/inshopbuy/InShopOrdersAdapter$1;->this$0:Lcom/example/inshopbuy/InShopOrdersAdapter;

    # getter for: Lcom/example/inshopbuy/InShopOrdersAdapter;->beans:Ljava/util/List;
    invoke-static {v1}, Lcom/example/inshopbuy/InShopOrdersAdapter;->access$1(Lcom/example/inshopbuy/InShopOrdersAdapter;)Ljava/util/List;

    move-result-object v1

    invoke-interface {v1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/example/inshopbuy/InShopOrdersBean;

    invoke-virtual {v1}, Lcom/example/inshopbuy/InShopOrdersBean;->getId()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v2, v1}, Lcom/example/inshopbuy/InShopOrdersAdapter;->deletOrder(Ljava/lang/String;)V

    .line 122
    iget-object v1, p0, Lcom/example/inshopbuy/InShopOrdersAdapter$1;->this$0:Lcom/example/inshopbuy/InShopOrdersAdapter;

    # getter for: Lcom/example/inshopbuy/InShopOrdersAdapter;->beans:Ljava/util/List;
    invoke-static {v1}, Lcom/example/inshopbuy/InShopOrdersAdapter;->access$1(Lcom/example/inshopbuy/InShopOrdersAdapter;)Ljava/util/List;

    move-result-object v1

    invoke-interface {v1, v0}, Ljava/util/List;->remove(I)Ljava/lang/Object;

    .line 123
    return-void
.end method
